import Vue from 'vue'
import Router from 'vue-router'
Vue.use(Router)

export default new Router({
  routes: [
    
    {
      path:'/QSElement',//勤瘦小程序 - 通用页面
      name: 'QSElement',
      component: () => import('@/views/QSElement.vue'),
    },
    {
      path:'/elementTest01',//勤瘦小程序 - 测试页面
      name: 'elementTest01',
      component: () => import('@/views/elementTest01.vue'),
    },
    {
      path:'/elementTest02',//勤瘦小程序 - 测试页面
      name: 'elementTest02',
      component: () => import('@/views/elementTest02.vue'),
    },
    {
      path:'/elementTest03',//勤瘦小程序 - 测试页面
      name: 'elementTest03',
      component: () => import('@/views/elementTest03.vue'),
    },
    {
      path:'/elementTest04',//勤瘦小程序 - 测试页面
      name: 'elementTest04',
      component: () => import('@/views/elementTest04.vue'),
    },
		{
			path: "*",
      redirect: "/QSElement",
		}  
                                             
  ]
})
